home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / xpaint-2.1.1 / Local.config < prev    next >
Text File  |  1995-06-21  |  3KB  |  108 lines

  1. #ifndef XCOMM
  2. #define XCOMM #
  3. #endif
  4.  
  5. BINDIR=/bin
  6. DESTDIR=/usr/skunk
  7.  
  8. XCOMM
  9. XCOMM Configuration portion of Imakefile for XPaint
  10. XCOMM
  11.  
  12. XCOMM XPAINT_TOP = $(TOP)
  13.  
  14. XCOMM
  15. XCOMM  Defines that may or may not be useful
  16. XCOMM
  17. XCOMM      -DMISSING_STRERROR if you system doesn't have strerror()
  18. XCOMM      -DMISSING_STDARG_H if you system doesn't have <stdarg.h>
  19. XCOMM      -DNOSTDHDRS        if you don't have <unistd.h> or <stdlib.h>
  20. XCOMM      -DNEED_STRCASECMP  if your system doesn't provide strcasecmp()
  21. XCOMM 
  22. XCOMM  Just remove the 'XCOMM' line on the line below, and tailor to you need.
  23. XCOMM
  24. XCOMM EXTRA_DEFINES = -DMISSING_STDARG_H -DNOSTDHDRS
  25.  
  26. #ifdef SunArchitecture
  27. EXTRA_DEFINES = -DMISSING_STRERROR
  28. #endif
  29.  
  30. XCOMM Need an ANSI C compiler
  31. XCOMM
  32. XCOMM  Which is either 'gcc' or 'acc' on a SparcStation
  33. XCOMM   most MIPS bassed machines will do just fine using 'cc'
  34. XCOMM
  35. XCOMM CC = gcc
  36. XCOMM CC = acc
  37.  
  38. XCOMM  If you have the TIFF library, make HaveTIFF defined
  39. XCOMM    and make sure the path names to the library and 
  40. XCOMM    includes are correct.
  41. XCOMM
  42.  
  43. #define HaveTIFF
  44.  
  45. #ifdef HaveTIFF
  46. TIFF_LIB     = $(XPAINT_TOP)/../tiff/libtiff.a
  47. TIFF_INCLUDE = -I$(XPAINT_TOP)/../tiff
  48. #endif
  49.  
  50. XCOMM  If you have the JPEG library, make HaveJPEG defined
  51. XCOMM    and make sure the path names to the library and 
  52. XCOMM    includes are correct.
  53. XCOMM
  54.  
  55. #undef HaveJPEG
  56.  
  57. #ifdef HaveJPEG
  58. JPEG_LIB     = $(XPAINT_TOP)/../jpeg/libjpeg.a
  59. JPEG_INCLUDE = -I$(XPAINT_TOP)/../jpeg
  60. #endif
  61.  
  62. XCOMM
  63. XCOMM  If you are running SunOS and get a error with the following undefined
  64. XCOMM    symbols from the link line:
  65. XCOMM       _get_wmShellWidgetClass
  66. XCOMM       _get_applicationShellWidgetClass
  67. XCOMM
  68. XCOMM  Try defining this lines
  69. XCOMM
  70. XCOMM #undef XawClientLibs
  71. XCOMM #define XawClientLibs -lXaw -Bstatic -lXmu -Bdynamic -lXt -lXext -lX11
  72. XCOMM
  73.  
  74. XCOMM *******************************************************************
  75. XCOMM ** Not so interesting stuff.
  76. XCOMM *******************************************************************
  77.  
  78. XCOMM
  79. XCOMM  If you have the XPM library, make HaveXPM defined
  80. XCOMM    and make sure the path names to the library and 
  81. XCOMM    includes are correct.
  82. XCOMM
  83.  
  84. #define HaveXPM
  85.  
  86. #ifdef HaveXPM
  87. XPM_LIB     = $(XPAINT_TOP)/../xpm-3.3/lib/libXpm.a
  88. XPM_INCLUDE = -I$(XPAINT_TOP)/../xpm-3.3/lib
  89. XCOMM
  90. XCOMM    If you have a later version of xpm on the system
  91. XCOMM
  92. XCOMM XPM_LIB=/usr/local/lib/libXpm.a
  93. XCOMM XPM_INCLUDE=-I/usr/local/include/xpm
  94. #endif
  95.  
  96. XCOMM Where to put stuff on "install" or "install.man", if 
  97. XCOMM   the defaults aren't ok
  98. XCOMM
  99. BINDIR = /usr/skunk/bin/X11
  100. MANDIR = /usr/skunk/man
  101. #undef ManSuffix
  102. #define ManSuffix 1
  103.  
  104. XCOMM How excited are you about debugging?
  105.  
  106. CDEBUGFLAGS = -O
  107. OPTIMIZER   = $(CDEBUGFLAGS)
  108.